{{!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}}

{{view App.SummaryMasterComponentsView mastersCompBinding="view.parentView.mastersObj"}}
{{view App.SummaryClientComponentsView clientsObjBinding="view.parentView.clientObj"}}

<tr class="hidden"><td></td></tr>

{{#each endpoint in hiveServerEndPoints}}
  {{#if endpoint.isVisible}}
   <tr {{bindAttr class=":component endpoint.componentName"}}>
     <td class="summary-label">{{endpoint.label}}</td>
     <td class="summary-value" >
       {{#view view.summaryValueView titleBinding="endpoint.tooltipText" data-toggle="tooltip"}}
         {{endpoint.value}}
       {{/view}}
       {{#view view.clipBoardView data-clipboard-action= "copy" data-clipboard-textBinding="endpoint.value"}}
         <img src="/img/clippy.svg" alt="Copy" rel="clipboard-tooltip" data-toggle="tooltip" data-placement="bottom" title="Copied!"/>
       {{/view}}
     </td>
   </tr>
  {{/if}}
{{/each}}
{{#each link in view.viewLinks}}
    <tr>
        <td class="summary-label">{{link.label}}</td>
        <td class="summary-value" >
            <a href="#" target="_blank" {{action goToView link.viewInstance target="controller"}}>{{t app.goToView}}</a>
        </td>
    </tr>
{{/each}}